﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace StarForce {
    /// <summary>
    /// 一堆卡
    /// </summary>
    public interface ICardPile
    {
        /// <summary>
        /// 卡堆变化回调函数
        /// </summary>
        Action<Card[]> OnPileChange { get; set; }
        /// <summary>
        /// 向卡堆中添加卡牌
        /// </summary>
        void AddCard(Card card);
        /// <summary>
        /// 从卡堆中移除卡牌
        /// </summary>
        void RemoveCard(Card card);
    }
}

